// 白雪公主与7个小矮人的姓名

#include <iostream>
using namespace std;

void WriteNames(char[][15]);

int main() {
    char dwarfs[7][15] = {
        "Doc", "Sleepy", "Dopey", "Grumpy",
        "Sneezy", "Bashful", "Happy"
    };

    WriteNames(dwarfs);
}

// 输出7个小矮人的姓名
void WriteNames(char dwarfs[][15]) {
    for (int i = 0; i < 7; i++) {
        cout << "小矮人 #" << (i+1) << " 是 " << dwarfs[i] << "\n";
    }
}
